<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <title><?php echo $SystemSettings['setsys1']; ?></title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="<?php echo $SystemSettings['setsys11']; ?>" />
    <meta name="description" content="<?php echo $SystemSettings['setsys12']; ?>" />
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/animate.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/flexslider.css" />
    <link rel="stylesheet" type="text/css" href="<?php echo TPLPATH; ?>css/main.css" />
    <link rel="shortcut icon" href="<?php echo TPLPATH; ?>favicon.ico" type="image/x-icon">
    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="<?php echo TPLPATH; ?>js/jquery-1.11.3.min.js"></script>
    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="<?php echo TPLPATH; ?>js/html5shiv.min.js"></script>
    <script src="<?php echo TPLPATH; ?>js/respond.min.js"></script>
    <![endif]-->
</head>
	<body>
		<!-- start navigation -->
		<nav class="navbar navbar-default">
			<div class="container">
				<!-- Brand and toggle get grouped for better mobile display -->
				<div class="navbar-header">
					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
				        <span class="sr-only">Toggle navigation</span>
				        <span class="icon-bar"></span>
				        <span class="icon-bar"></span>
				        <span class="icon-bar"></span>
				    </button>
					<a class="navbar-brand hidden-xs" href="/index.html"><img src="<?php echo TPLPATH; ?>images/logo.png" alt="logo.png" /></a>
					<a class="navbar-brand small visible-xs" href="/index.html"><img src="<?php echo TPLPATH; ?>images/logo-small.png" alt="logo.png" /></a>
					<span style="font-size: 18px;color: #ED2123;font-weight: bold;" class="visible-xs">隆领</span>
				</div>

				<!-- Collect the nav links, forms, and other content for toggling -->
				<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
					<ul class="nav navbar-nav navbar-right">
						<li><a href="/index.html#home" class="smoothScroll">首 页</a></li>
						<li><a href="/index.html#about" class="smoothScroll">公 司</a></li>
						<li><a href="/index.html#service" class="smoothScroll">服 务</a></li>
						<li><a href="/index.html#case" class="smoothScroll">案 例</a></li>
						<li><a href="/index.html#news" class="smoothScroll">动 态</a></li>
						<li><a href="/index.html#contact" class="smoothScroll">联 系</a></li>
					</ul>
				</div>
				<!-- /.navbar-collapse -->
			</div>
			<!-- /.container -->
		</nav>
		<!-- end navigation -->
		<!-- start news -->
		<section id="news" class="text-center">
			<div class="container">
				<div class="row">
					<div class="col-md-12 wow fadeInDown" data-wow-delay="2000">
						<h3>我们的动态</h3>
					</div>
					<div class="col-md-2"></div>
					<div class="col-md-8">
						 <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_company=$T_db->table("onepagesys")->order("")->where("onepagesys1=78")->field("*")->limit("1")->page("")->selectlist();
					
	 				$company_page=$T_db->htmlpageshow;
					$company_sql=$T_db->sql;
	 					if($l_company==null){
 							$l_company=array();
 							echo "暂无数据!";
 						}
 						$company_count=count($l_company);
	 					foreach($l_company as $company_key=>$company){
	 		?>
                        <p><?php echo $company['onepagesys4']; ?></p>
                        <?php }?>
					</div>
					<div class="col-md-2"></div>
                    <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_news=$T_db->table("sen_product")->order("sen_product7 desc")->where("sen_product1=79")->field("*")->limit("6")->page("page")->selectlist();
					header("pagelength:".$T_db->pagelens);
	 				$news_page=$T_db->htmlpageshow;
					$news_sql=$T_db->sql;
	 					if($l_news==null){
 							$l_news=array();
 							echo "暂无数据!";
 						}
 						$news_count=count($l_news);
	 					foreach($l_news as $news_key=>$news){
	 		?>
					<div class="col-sm-6 col-md-4 wow  <?php if($news_key==0){ ?>fadeInLeft <?php }elseif($news_key==1){ ?> fadeInDown<?php }elseif($news_key==2){ ?>fadeInRight<?php }elseif($news_key==3){ ?>fadeInLeft<?php }elseif($news_key==4){ ?>fadeInUp<?php }elseif($news_key==5){ ?>fadeInRight<?php }?>" data-wow-delay="2000">
						<div class="news-content">
							<div class="news_thumb">
								<img src="<?php echo $news['sen_product6']; ?>" alt="news">
								<div class="news_overlay">
									<a href="<?php echo $news['sen_product2']; ?>" class="info">
										<i class="fa fa-search"></i>
										<br>
										Read More
									</a>
								</div>
							</div>
							<h4><a href="<?php echo $news['sen_product2']; ?>"><?php echo $news['sen_product5']; ?></a></h4>
							<div class="line_3"><p><?php echo $news['sen_product8']; ?></p></div>
						</div>
					</div>
					<?php }?>
                    </div>
				    <nav>
                        <?php echo $news_page; ?>
				  <!--	<ul class="pagination pagination-inverse">
				    	<li>
				      		<a href="#" aria-label="Previous">
				        		<span aria-hidden="true">&laquo;</span>
				      		</a>
				    	</li>
				    	<li class="active"><a href="#">1</a></li>
				    	<li><a href="#">2</a></li>
				    	<li><a href="#">3</a></li>
				    	<li><a href="#">4</a></li>
				    	<li><a href="#">5</a></li>
				    	<li>
				      		<a href="#" aria-label="Next">
				        		<span aria-hidden="true">&raquo;</span>
				      		</a>
				    	</li>
				  	</ul>-->
				</nav>
			</div>
		</section>
		<!-- end news -->
		<!-- start footer -->
        <footer id="footer">
    <div class="container wow fadeInUp" data-wow-duration="0.4s" data-wow-delay="0.4s">
		<div class="row">
			<div class="col-md-2 erweima">
			 <?php
			if(!$T_db instanceof htmldb){$T_db=new htmldb();}
	 		$l_company=$T_db->table("onepagesys")->order("")->where("onepagesys1=83")->field("*")->limit("1")->page("")->selectlist();
					
	 				$company_page=$T_db->htmlpageshow;
					$company_sql=$T_db->sql;
	 					if($l_company==null){
 							$l_company=array();
 							echo "暂无数据!";
 						}
 						$company_count=count($l_company);
	 					foreach($l_company as $company_key=>$company){
	 		?>
				<img class="img-responsive center-block" src="<?php echo $company['onepagesys4']; ?>" alt="erweima" />
				 <?php }?>
			</div>
			<div class="col-md-10 copyright">
				<p>成都隆领科技有限公司</p>
				<p>公司地址：<?php echo $SystemSettings['setsys2']; ?></p>
				<p>公司座机：<?php echo $SystemSettings['setsys5']; ?></p>
				<p>联系电话：<a style="color: #999;text-decoration: none;" href="tel:<?php echo $SystemSettings['setsys4']; ?>"><?php echo $SystemSettings['setsys4']; ?></a></p>
				<p><a href="http://wpa.qq.com/msgrd?v=3&uin=<?php echo $SystemSettings['setsys13']; ?>&site=qq&menu=yes"><img src="<?php echo TPLPATH; ?>images/qq.png" alt="" /></a></p>
				<p>
					Copyright  <?php echo date('Y') ?> longling <?php echo $SystemSettings['setsys10']; ?>  站长统计
					<span>
						<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259106743'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1259106743' type='text/javascript'%3E%3C/script%3E"));</script>
						<script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1259106743'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s95.cnzz.com/z_stat.php%3Fid%3D1259106743%26show%3Dpic1' type='text/javascript'%3E%3C/script%3E"));</script>
					</span>
					<script language="javascript" type="text/javascript" src="http://js.users.51.la/19008066.js"></script>
					<noscript><a href="http://www.51.la/?19008066" target="_blank"><img alt="&#x6211;&#x8981;&#x5566;&#x514D;&#x8D39;&#x7EDF;&#x8BA1;" src="http://img.users.51.la/19008066.asp" style="border:none" /></a></noscript>
					

				</p>
			</div>
		</div>	
	 </div>
</footer>
		<!-- end footer -->
		<!-- Include all compiled plugins (below), or include individual files as needed -->
		<script src="<?php echo TPLPATH; ?>js/bootstrap.min.js"></script>
		<script src="<?php echo TPLPATH; ?>js/wow.min.js"></script>
		<script type="text/javascript">
			$(function() {
				/* 延迟动画 */
				new WOW().init();
				/*限制行数*/
			   	$(".line_3").each(function() {
			        var divH = $(this).height();
			        var $p = $("p", $(this)).eq(0);
			        while ($p.outerHeight() > divH) {
			            $p.text($p.text().replace(/(\s)*([a-zA-Z0-9]+|\W)(\.\.\.)?$/, "..."));
			        };
			    });
			});
		</script>
	</body>
</html>